package top.healthylife.gateway.platform.eye.dto.zengzhifuwu.EyeReqOpenSearchDto.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.request.req.ApiReqDto;


/**
* @author: GenUtil
* @date: 2020-12-14 23:08:58
*/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("按行业区域查询公司[776]")
public class EyeReqOpenSearchDto extends ApiReqDto {

    @ApiField("行业code（参考文件category.json）")
    @JsonProperty("categoryGuobiao")
    @ApiModelProperty(name = "行业code（参考文件category.json）", example = "759")
    private String categoryGuobiao;

    @ApiField("区域code（参考文件areaCode.json）")
    @JsonProperty("areaCode")
    @ApiModelProperty(name = "区域code（参考文件areaCode.json）", example = "110108")
    private Integer areaCode;

    @ApiField(value = "关键词", necessity = true)
    @JsonProperty("word")
    @ApiModelProperty(name = "关键词", example = "百度")
    private String word;

    @ApiField("当前页（最大50页，每页20条数据）")
    @JsonProperty("pageNum")
    @ApiModelProperty(name = "当前页（最大50页，每页20条数据）", example = "1")
    private Integer pageNum = 1;

}
